<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Word Player</title>
    <style>
        #search-box {
            width: 300px;
            height: 30px;
            border: 1px solid #ccc;
            border-radius: 5px;
            padding: 5px;
            font-size: 16px;
        }

        #search-button {
            background-color: #4285f4;
            color: #fff;
            border: none;
            border-radius: 5px;
            padding: 5px 10px;
            font-size: 16px;
            cursor: pointer;
        }
        #bigContainer {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
        }

        #wordContainer {
            text-align: center;
            border: 1px solid #ccc;
            border-radius: 5px;
            padding: 20px;
        }
        .newElement {
            margin-top: 20px;
            padding: 10px;
            background-color: #f2f2f2;
            border: 1px solid #ccc;
            border-radius: 5px;
        }
    </style>
</head>
<body>
<center>
<!--    <input type="text"  style="width: 800px;height: 80px;" value="傻逼"><br>-->
    <input type="text" id="search-box"  value="" oninput="inputChanged()"   name="wd" placeholder="字典中搜索">
    <input type="button" id="search-button" onclick="search()" value="搜索">
    <div id="bigcontainer">
        <div id="wordContainer"></div>
    </div>
    <!--    <div id=""> </div>-->
</center>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="index.js"></script>
</body>
</html>